<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/login.css" />
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<script type="text/javascript">
			//更换验证码
			var _CODE = '<img src="{:U('code',array('r'=>''),'')}" />';
			var _CODEURL = '{:U('checkCode')}';
		</script>
		<title>后台登陆页面</title>
	</head>

	<body>

		<div id="content">
			<div class="container">
				<div id="loginBox">
					<div class="panel panel-default">
						<div class="panel-body text-center">
							<h3><span class="glyphicon glyphicon-user" style="font-size:80px;"></span></h3>
							<form action="{:U('login')}" method="post" class="form formbox" >
								<div class="form-group has-feedback">
									<!--has-success has-feedback-->
									<div class="text-right">
										<small>请输入管理员帐号</small>
									</div>
									<div class="input-group" style="position: relative;">
										<span class="input-group-addon" id="basic-addon1"><span class="glyphicon glyphicon-user"></span></span>
										<input id="username" name="username" aria-describedby="usernameStatus" placeholder="请输入管理员帐号" class="inputuser form-control"/>
										<span class="glyphicon iconFont form-control-feedback" aria-hidden="true"  ></span>
									</div>
								</div>
								<div class="form-group has-feedback">
									<div class="input-group">
										<span class="input-group-addon" id="basic-addon1"><span class="glyphicon glyphicon-lock"></span></span>
										<input type="password" name="password" id="password" aria-describedby="passwordStatus" class="inputpwd form-control" placeholder="请输入管理员密码"  />
										<span class="glyphicon iconFont form-control-feedback" aria-hidden="true" ></span>
									</div>
								</div>
								<div class="form-group has-feedback">
									<div class="text-right">
											<small>双击输入框更换验证码</small>
										</div>
									<div class="input-group">
										<!--这里使用popover来显示验证码-->
										
										<span class="input-group-addon" id="basic-addon1"><span class="glyphicon glyphicon-barcode"></span></span>
										<input type="text" id="code" name="code" aria-describedby="codeStatus" class="inputpwd form-control" placeholder="请输入验证码" data-content='<img src="{:U("code")}" />' />
										<span class="glyphicon iconFont form-control-feedback" aria-hidden="true" ></span>
									</div>
								</div>
								<div class="form-group text-right">
									<a href="{:U('Recover/index')}">找回密码</a> 
									<!--<a href="reg.html">新员工注册</a>-->
								</div>
								<div id="errorMsgBox"></div>
								<div class="form-group">
									<div class="input-group bottomBtns">
										<input type="submit" class="btn btn-primary" value="登陆" />
										<input type="reset" class="btn btn-info" value="重置" />
									</div>
								</div>
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
		<script type="text/javascript" src="__PUBLIC__/js/jquery.js"></script>
		<script type="text/javascript" src="__PUBLIC__/js/bootstrap.min.js"></script>
		<script type="text/javascript" src="__PUBLIC__/js/login.js"></script>
		
	</body>

</html>